import { createApp } from 'vue'
import App from './App.vue'
import 'element-plus/dist/index.css'
//routes
import router from "./routes/index";
import "./api/flexible.js"
//pinia
import { createPinia } from 'pinia'
const pinia = createPinia()
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)

//routes 
app.use(router)

//pinia
app.use(pinia)
pinia.use(piniaPluginPersistedstate)
app.mount('#app')
